import { registerClass } from "../../../cfw/tools/class_decorator";
import { BaseAdMgr } from "../../core/base/BaseAdMgr";
import { ResultState, SDKAdParam } from "../../SDKDefine";
import { IAdAdapter } from "../../core/base/IAdAdapter";

@registerClass('DevRewardAdMgr')
export class DevRewardAdMgr extends BaseAdMgr {
    put(ad: IAdAdapter): void {
    }
    get(index?: number): IAdAdapter {
        return null;
    }
    destroy(): void {
    }
    open(param: SDKAdParam): void {
        if (param.resultCallback) {
            param.resultCallback(ResultState.YES)
        }
    }
    close(index: number): void {

    }

    has(): boolean {
        return true;
    }
    init(): void {

    }

}